package com.yunban.project.api.text_check.dto;

import com.yunban.project.api.text_check.vo.CorrectTaskDetailsResp;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * @author 63231
 */
@Data
@Schema(description = "纠错任务响应")
public class CorrectTaskResp implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    @Schema(description = "纠错任务id")
    private String correctTaskId;
    @Schema(description = "文本")
    private String text;
    @Schema(description = "文本纠错结果")
    private List<CorrectTaskDetailsResp> correctResult;
    @Schema(description = "是否完成")
    private boolean finished;
    @Schema(description = "完成数量")
    private long finishCount;
}
